﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;


namespace Business_Tier
{
    public class BT_HRM_TIMEKEEPERData : MarshalByRefObject, IHRM_TIMEKEEPERData
    {
        HRM_TIMEKEEPERData HRM_TIMEKEEPER = new HRM_TIMEKEEPERData();

        public int HRM_TIMEKEEPER_Delete(Guid TimeKeeperTableListID, string EmployeeCode, string ShiftCode, DateTime Date)
        {
            return HRM_TIMEKEEPER.HRM_TIMEKEEPER_Delete(TimeKeeperTableListID,EmployeeCode,ShiftCode,Date);
        }
        public int HRM_TIMEKEEPER_Disable(Guid TimeKeeperTableListID, string EmployeeCode, string ShiftCode, DateTime Date, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet HRM_TIMEKEEPER_Get(Guid TimeKeeperTableListID, string EmployeeCode, string ShiftCode, DateTime Date)
        {
            return HRM_TIMEKEEPER.HRM_TIMEKEEPER_Get(TimeKeeperTableListID,EmployeeCode,ShiftCode,Date);
        }
        public System.Data.DataSet HRM_TIMEKEEPER_GetList()
        {
            return HRM_TIMEKEEPER.HRM_TIMEKEEPER_GetList();
        }
        public System.Data.DataSet HRM_TIMEKEEPER_GetListByTimeKeeperTableListID(Guid TimeKeeperTableListID)
        {
            return HRM_TIMEKEEPER.HRM_TIMEKEEPER_GetListByTimeKeeperTableListID(TimeKeeperTableListID);
        }
        public int HRM_TIMEKEEPER_Insert(Guid TimeKeeperTableListID, string EmployeeCode, string ShiftCode, DateTime Date, string Symbol, DateTime TimeIn, DateTime TimeOut, double Hour, int LateMinute, int EarlyMinute, bool IsOverTime, bool IsWork)
        {
            return HRM_TIMEKEEPER.HRM_TIMEKEEPER_Insert(TimeKeeperTableListID,EmployeeCode,ShiftCode,Date,Symbol,TimeIn,TimeOut,Hour,LateMinute,EarlyMinute,IsOverTime,IsWork);
        }
        public int HRM_TIMEKEEPER_Save(Guid TimeKeeperTableListID, string EmployeeCode, string ShiftCode, DateTime Date, string Symbol, DateTime TimeIn, DateTime TimeOut, double Hour, int LateMinute, int EarlyMinute, bool IsOverTime, bool IsWork)
        {
            return HRM_TIMEKEEPER.HRM_TIMEKEEPER_Save(TimeKeeperTableListID, EmployeeCode, ShiftCode, Date, Symbol, TimeIn, TimeOut, Hour, LateMinute, EarlyMinute, IsOverTime, IsWork);
        }
        public int HRM_TIMEKEEPER_Update(Guid TimeKeeperTableListID, string EmployeeCode, string ShiftCode, DateTime Date, string Symbol, DateTime TimeIn, DateTime TimeOut, double Hour, int LateMinute, int EarlyMinute, bool IsOverTime, bool IsWork)
        {
            return HRM_TIMEKEEPER.HRM_TIMEKEEPER_Update(TimeKeeperTableListID, EmployeeCode, ShiftCode, Date, Symbol, TimeIn, TimeOut, Hour, LateMinute, EarlyMinute, IsOverTime, IsWork);
        }
    }
}
